package school.emm;

import com.ericsson.mmaps.CustomSymbol;
import com.ericsson.mmaps.graphics.RaveGeoImage;

/**
 * Adds a description string to a CustomSymbol.
 * To add application info to an object to be displayed on map,
 * implement the CustomObject interface or subclass a class that does.
 */
public class ChatRoomSymbol extends CustomSymbol {
	/**
	 * Description of the custom object
	 */
	private String topic_;
	private int categoryID_, chatID_ = -1;
    /**
     * Creates a DemoCustomSymbol at the given location, using
     * the given symbol image.
     * 
     * @param x initial x-coordinate of the symbol
     * @param y initial y-coordinate of the symbol
     * @param image the symbol image
     */
    public ChatRoomSymbol(int x, int y, RaveGeoImage image) {
        super(x,y,image);
     
    }
	
	public String getTopic() {
		return topic_;
	}

	public void setTopic(String topic) {
		this.topic_ = topic;
		super.setText(topic);
	}
	
	public int getCategory() {
		return categoryID_;
	}

	public void setCategory(int categoryID) {
		this.categoryID_ = categoryID;
	}
	
	public int getChatId() {
		return chatID_;
	}

	public void setChatId(int chatID) {
		this.chatID_ = chatID;
	}
	
	


}
